package com.woniu.function;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(scanBasePackages = { "com.woniu.function.**","com.woniu.**"})
@MapperScan(basePackages = "com.woniu.*.mapper")
@EnableFeignClients(basePackages = "com.woniu.*.feign")
@EnableScheduling //通过@EnableScheduling注解开启对计划任务的支持
public class FunctionApplication {
    public static void main(String[] args) {
        SpringApplication.run(FunctionApplication.class,args);
    }
}
